/**
 * 
 */
package si.yun.entity;

import java.util.List;

/**
 * @author 崔晓晨
 *2021年5月9日下午7:26:58
 */
public class Articletype {
	private int id;
	private String title;
	private int parentId;
	private List<Articletype> children;

	public Articletype(){
		System.out.println("33333333333333333333333333333333333");
		System.out.println("22222222222222222222");
		System.out.println("222222222222222222222222");
		System.out.println("222222222222222222222222");
		System.out.println("222222222222222222222222");
		System.out.println("111111111111111111111111111");
		System.out.println("11111111111111111111111111111");
		System.out.println("1213234243543564675476879890");
		System.out.println("李军瑶");
		System.out.println("3是个好数字");
		System.out.println("7是个坏数字");
		System.out.println("7是个坏数字");
        System.out.println("李军瑶");
	}




	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the parentId
	 */
	public int getParentId() {
		return parentId;
	}
	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	/**
	 * @return the children
	 */
	public List<Articletype> getChildren() {
		return children;
	}
	/**
	 * @param children the children to set
	 */
	public void setChildren(List<Articletype> children) {
		this.children = children;
	}

	@Override
	public String toString() {
		return "Articletype{" +
				"id=" + id +
				", title='" + title + '\'' +
				", parentId=" + parentId +
				", children=" + children +
				'}';
	}
}
